package com.lizhaoshan.dao;

import com.lizhaoshan.pojo.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: reggie
 * @description: 订单数据库接口
 * @author: lamour
 * @create: 2022-05-13 20:48
 **/

@Mapper
public interface OrdersDao {

    int updateOrders(@Param("orders")Orders orders);

    List<Orders> selectPage(Integer size, Integer begin, String number, String beginTime, String endTime);

    int countTotal(String currentId);
}
